package com.ruoyi.books.domain;

import com.fasterxml.jackson.annotation.JsonProperty;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

import javax.swing.*;

/**
 * 非遗项目收藏对象 books_marks
 *
 * @author ruoyi
 * @date 2024-04-07
 */
public class BooksMarks extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 表ID */
    private Long marksId;

    /** 添加操作者 */
//    @Excel(name = "添加操作者")
    @JsonProperty
    public Long marksUserId;

    /** 所对应的项目 */
//    @Excel(name = "所对应的项目")
    @JsonProperty
    public Long marksAllId;

    public void setMarksId(Long marksId)
    {
        this.marksId = marksId;
    }

    public Long getMarksId()
    {
        return marksId;
    }
    public void setMarksUserId(Long marksUserId)
    {
        this.marksUserId = marksUserId;
    }

    public Long getMarksUserId()
    {
        return marksUserId;
    }
    public void setMarksAllId(Long marksAllId)
    {
        this.marksAllId = marksAllId;
    }

    public Long getMarksAllId()
    {
        return marksAllId;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("marksId", getMarksId())
            .append("marksUserId", getMarksUserId())
            .append("marksAllId", getMarksAllId())
            .append("createTime", getCreateTime())
            .toString();
    }
}
